RankMath\Redirections\Redirection A

Total Complexity 58
Dependencies 5
Dependents 8
Total lines 433
Lines of code 195
Logical lines of code 100
Comment lines 179
Methods 20
Properties 5

Methods 20

Method Rating Maintainability Complexity Lines of code
sanitize_source_url()
A
51 8 25
pre_redirection_cache()
S
50 5 32
sanitize_source()
S
64 5 10
create()
S
56 3 18
add_source()
S
59 3 15
save_redirection_cache()
S
65 4 9
add_sources()
S
68 4 6
from()
S
61 3 13
save()
S
65 3 10
add_destination()
S
67 3 7
__construct()
S
68 3 7
has_sources()
S
78 2 3
sanitize_source_regex()
S
63 2 9
__get()
S
71 2 6
get_home_domain()
S
69 2 7
strip_subdirectory()
S
69 2 6
is_new()
S
82 1 3
set_nocache()
S
81 1 3
set_id()
S
80 1 3
get_id()
S
82 1 3